From: Alexandre Emsenhuber Date: Sun, 2 Oct 2011 17:36:19 +0000 (+0000) Subject: Added missing directory to findHooks.php and a missing hook in hooks.txt X-Git-Tag: 1.31.0-rc.0~27313 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=3fbca542c9366a6ba6ec89cb7ef59458ea7f452f;p=lhc%2Fweb%2Fwiklou.git Added missing directory to findHooks.php and a missing hook in hooks.txt --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 72a8e55282..a434eb33f7 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -2164,6 +2164,13 @@ One, and only one hook should set this, and return false. &$opts: Options to use for the query &$join: Join conditions +'wfShellMaintenanceCmd': Called when generating a shell-escaped command line + string to run a maintenance script. +&$script: MediaWiki maintenance script path +&$parameters: Array of arguments and options to the script +&$options: Associative array of options, may contain the 'php' and 'wrapper' + keys + 'wgQueryPages': called when initialising $wgQueryPages, use this to add new query pages to be updated with maintenance/updateSpecialPages.php $query: $wgQueryPages itself diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index 5996fd3a5b..9c9cc74284 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -59,6 +59,7 @@ class FindHooks extends Maintenance { $IP . '/includes/actions/', $IP . '/includes/api/', $IP . '/includes/cache/', + $IP . '/includes/context/', $IP . '/includes/db/', $IP . '/includes/diff/', $IP . '/includes/filerepo/',